<template>
	<om-page :title="pageTitle">
		<view>
			<uni-list>
				<uni-list-item :showSwitch="true" :showArrow="false" :switchChecked="messageStatus" @switchChange="switchChange">
					<view>消息置顶</view>
				</uni-list-item>
				<uni-list-item :showSwitch="true" :showArrow="false">
					<view>消息免打扰</view>
				</uni-list-item>
			</uni-list>
			<view class="tip">若开启，该账号的推送消息将不再提醒</view>
		</view>
	</om-page>
</template>

<script>
export default {
	data() {
		return {
			pageTitle:"消息设置",
			messageStatus: false,
		};
	},
	watch: {
	　　
	},
	methods: {
		switchChange(e){
			let _that = this;
			_that.messageStatus = e.value
		}
	},
	onLoad() {
		
	},
};
</script>
<style scoped>
	.tip{
		padding-left: 15px;
		line-height: 24px;
	}
</style>